package com.ruoyi.eims.store.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 采购入库管理对象 t_inbound_order
 * 
 * @author hp
 * @date 2023-02-05
 */
@Data
public class InboundOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 采购订单 */
    @Excel(name = "采购订单")
    private Long pid;

    /** 供应商 */
    @Excel(name = "供应商")
    private String vendorId;
    private String vendorName;

    /** 单据编号 */
    @Excel(name = "单据编号")
    private String orderNo;

    /** 商品 */
    @Excel(name = "商品")
    private String goodsId;

    /** 单据日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "单据日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 操作员 */
    @Excel(name = "操作员")
    private Long userId;

    /** 金额合计 */
    @Excel(name = "金额合计")
    private BigDecimal price;

    /** 待付金额 */
    @Excel(name = "待付金额")
    private BigDecimal shouldPay;

    /** 付款金额 */
    @Excel(name = "付款金额")
    private BigDecimal hasPay;

    /** 状态 */
    @Excel(name = "状态")
    private Integer state;


}
